Catch Probability Analysis

Author

Collin Gates

catch data:

Downloading Statcast data... this may take a moment.
[1] "Success! Data loaded: 2246 plays found."
# A tibble: 6 × 119
  pitch_type game_date  release_speed release_pos_x release_pos_z player_name   
  <chr>      <chr>              <dbl>         <dbl>         <dbl> <chr>         
1 SI         2024-06-07          94            0.35          5.74 Pillar, Kevin 
2 ST         2024-06-07          85.1         -2.08          5.67 Santana, Carl…
3 SI         2024-06-07          95.1          3.5           5.49 Bote, David   
4 SI         2024-06-07          93           -2.99          5.49 Walker, Chris…
5 CH         2024-06-07          87.6          3.5           5.55 Swanson, Dans…
6 CU         2024-06-07          82.9         -2.08          5.46 Duvall, Adam  
# ℹ 113 more variables: batter <int>, pitcher <int>, events <chr>,
#   description <chr>, spin_dir <lgl>, spin_rate_deprecated <lgl>,
#   break_angle_deprecated <lgl>, break_length_deprecated <lgl>, zone <int>,
#   des <chr>, game_type <chr>, stand <chr>, p_throws <chr>, home_team <chr>,
#   away_team <chr>, type <chr>, hit_location <int>, bb_type <chr>,
#   balls <int>, strikes <int>, game_year <int>, pfx_x <dbl>, pfx_z <dbl>,
#   plate_x <dbl>, plate_z <dbl>, on_3b <int>, on_2b <int>, on_1b <int>, …

full working script for plots at all 30 MLB ballparks

Downloading: 2024-03-28 to 2024-04-30
Downloading: 2024-05-01 to 2024-05-31
Downloading: 2024-06-01 to 2024-06-30
Downloading: 2024-07-01 to 2024-07-31
Downloading: 2024-08-01 to 2024-08-31
Downloading: 2024-09-01 to 2024-09-29